package com.rdk.service;

import javax.servlet.http.HttpServletRequest;

import net.sf.json.JSONObject;

import com.rdk.entity.TUserGroup;
import com.rdk.utils.BusinessException;


public interface TUserGroupService extends BaseService<TUserGroup>{
	public JSONObject findUserGroup(String userId);
	
	public void addUserGroup(HttpServletRequest request,String userId) throws BusinessException;
	
	public JSONObject queryUserGroup(String groupId, String userId) throws BusinessException;
	
	public void removeUserGroup(String groupId, String userId)throws Exception;
	
	public void updateUserGroup(String groupId, HttpServletRequest request,String userId) throws Exception;
	
}
